package cn.itcast.service.company;

import cn.itcast.domain.company.Company;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CompanyService {

    public List<Company> findAll();
    //新增企业
    void save(Company company);
    //更新企业
    void update(Company company);
    //根据id查找企业
    Company findById(String id);

    void delete(String id);
    //分页查询企业
    public PageInfo<Company>findByPage(int pageNum,int pageSize);
}